package com.love.travel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.love.common.core.annotation.Excel;
import com.love.common.core.web.domain.BaseEntity;

/**
 * 景点-标签关联对象 travel_attraction_tag
 * 
 * @author love
 * @date 2025-10-20
 */
public class TravelAttractionTag extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 景点ID（关联travel_attraction） */
    @Excel(name = "景点ID", readConverterExp = "关=联travel_attraction")
    private Long attractionId;

    /** 标签ID（关联travel_tag） */
    @Excel(name = "标签ID", readConverterExp = "关=联travel_tag")
    private Long tagId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAttractionId(Long attractionId) 
    {
        this.attractionId = attractionId;
    }

    public Long getAttractionId() 
    {
        return attractionId;
    }

    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attractionId", getAttractionId())
            .append("tagId", getTagId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
